import { binarySearch } from '../../src/algorithm/binarysearch'
const arr = [1, 2, 3, 4, 5, 6, 7, 8]
console.log(binarySearch(arr, 3))
console.log(binarySearch(arr, 1))
console.log(binarySearch(arr, 8))
